package com.dc.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author feishaobin
 * @email
 * @date 2021-12-30 11:31:42
 */
@Data
@ApiModel
@TableName("dc_shift_management")
public class ShiftManagement implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "")
    private Long id;
    /**
     * 值班人员id
     */
    @ApiModelProperty(value = "值班人员id")
    private Long dutyUserId;
    /**
     * 值班人员姓名
     */
    @ApiModelProperty(value = "值班人员姓名")
    private String dutyUserName;
    /**
     * 交接内容
     */
    @ApiModelProperty(value = "交接内容")
    private String handoverContent;
    /**
     * 交接人id
     */
    @ApiModelProperty(value = "交接人id")
    private Long handoverUserId;
    /**
     * 交接人姓名
     */
    @ApiModelProperty(value = "交接人姓名")
    private String handoverUserName;
    /**
     * 状态 0:值班中 1:完成
     */
    @ApiModelProperty(value = "状态 0:值班中 1:完成")
    private Integer status;
    /**
     * 交接时间
     */
    @ApiModelProperty(value = "交接时间")
    private Date handoverTime;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

}
